<?php
namespace app\model\common;


use think\Model;

class Web extends Model
{
    //web
    public const AIR_LOCKING_POINT = 131400;
    public const MULTIPLE = 10000000000;
    public const HUNDRED = 100;
    public const TWO = 2;
    public const TEN = 10;
    public const GRANT_COIN_MSG = '粮票已结算';
    //每日发行量
    public const COIN_NUM = 560;

    public const GRANTING_COIN_MSG = '每日粮票结算，增加已有粮票';
    public const GRANTING_POINT_MSG = '每日粮票结算，减少相应积分';

    public const TOP_PID = 2;
    public const WECHAT_LOGIN_ERROR = '登录失败';
    public const WECHAT_LOGIN_FAILURE = '登录已失效，请重新登录';
    public const WECHAT_NON_USER = '该用户不存在，请退出后重新登录';
    public const WECHAT_DISABLE_USER = '该用户存在风险';
    public const WECHAT_UN_LOGIN_ERROR = '请登录后进行操作';
    public const WECHAT_EXIST_UNIONID_BUT_NON_USER_ERROR = '请确认登录微信是否正确';
    public const WECHAT_EXIST_UNIONID_BUT_NON_USER_ERROR_LOG = 'unionid存在但user不存在';
    public const WECHAT_NON_PID_ERROR = '经纪人信息有误';
    public const WECHAT_NON_PID_ERROR_LOG = 'pid为0';

    //订单
    public const PAYPASSWORD_ERROR = '支付密码错误，请重新输入';
    public const NOT_SELF_ORDER_ERROR = '非自有订单，请进行确认';
    public const ORDER_STATUS_ERROR = '订单状态有误';
    public const CAN_USE_BALANCE_NOT_ENOUGH_ERROR = '可用余额不足';

    public const ORDER_DEDUCE_BALANCE = '余额支付';
    public const ORDER_GIVE_POINT = '余额购物赠送积分';
    public const FIRST_ORDER_DEDUCE_LOCKING_POINT = '首次消费扣除待激活积分';
    public const FIRST_ORDER_GIVE_POINT = '首次购物赠送积分';

    public const BALANCE_PAY_FAIL = '余额支付失败';
    public const BALANCE_PAY_SUCCESS = '余额支付成功';

    public const ORDER_WECHAT_PAY_GIVE_POINT = '微信购物赠送积分';
    public const ORDER_WECHAT_NOTIFY_END = '微信支付回调结束';

    public const NOT_ORDER_USER = '不是订单用户';

    //互转
    public const TRANS_DEDUCE_COIN_REMARK = "向ID【%s】用户转了【%s】张粮票";
    public const TRANS_INDUCE_COIN_REMARK = "收到ID【%s】用户转账的【%s】张粮票";
    public const TRANS_DEDUCE_BALANCE_REMARK = "向ID【%s】用户转了【%s】余额";
    public const TRANS_INDUCE_BALANCE_REMARK = "收到ID【%s】用户转账的【%s】余额";


    //admin
    public const ADMIN_SYSTEM_RECHARGE = '众益健康充值';
}